package com.lysh.http.client;

import com.lysh.http.businessDto.ToolsPerson2;
import com.lysh.http.businessDto.ToolsPerson2Dto;
import com.lysh.http.exception.SDKException;

/**
 * @author liyishan
 * @date 2023/4/19 12:41
 * 正对同一个第三方的不同接口进行处理
 */

public class SignToolsClient extends DefaultLetsignClient {

    public String invokePersonTool2(ToolsPerson2Dto dto) throws SDKException {
        ToolsPerson2 tools = new ToolsPerson2();
        tools.addHeader("Content-Type", "application/json");
        tools.addHeader("Authorization", "ffc76b9a9688454198df56debd300691");
        tools.addHeader("Cookie", "sessionId=a676be314f50480bbf168de823372a6d; session_token=ffc76b9a9688454198df56debd300691");
        return super.invoke(tools, dto, "个人二要素核验");
    }
}
